package com.aiyige.model.message.view;


/**
 * 订单消息content格式
 * Created by qianglong on 2018/1/25.
 */
public class OrderContent {
    /**
     * 订单消息状态（与订单状态不是一个东西） 0-待付款，1-已付款，2-已确认，3-申请退款，4-同意退款，5-驳回退款
     */
    public static final int ORDER_STATUS_UNPAY = 0;
    public static final int ORDER_STATUS_PAYED = 1;
    public static final int ORDER_STATUS_CONFIRM = 2;
    public static final int ORDER_STATUS_REFUNDING = 3;
    public static final int ORDER_STATUS_REFUNDED = 4;
    public static final int ORDER_STATUS_REJECT_REFUND = 5;
    /**
     * 订单id
     */
    private String id;

    /**
     * 订单状态
     */
    private int status;

    /**
     * 订单路由
     */
    private String router;
    /**
     * 退款详情页路由
     */
    private String refundRouter;
    /**
     * 发送人信息
     */
    private MessageSender sender;
    /**
     * 动态信息
     */
    private MessageMoment moment;
    /**
     * 订单金额
     */
    private double amount;

    /**
     * 订单号
     */
    private String code;

    /**
     * 退款驳回理由
     */

    private String refundRejectReason;

    public String getRefundRejectReason() {
        return refundRejectReason;
    }

    public void setRefundRejectReason(String refundRejectReason) {
        this.refundRejectReason = refundRejectReason;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRouter() {
        return router;
    }

    public void setRouter(String router) {
        this.router = router;
    }

    public String getRefundRouter() {
        return refundRouter;
    }

    public void setRefundRouter(String refundRouter) {
        this.refundRouter = refundRouter;
    }

    public MessageSender getSender() {
        return sender;
    }

    public void setSender(MessageSender sender) {
        this.sender = sender;
    }

    public MessageMoment getMoment() {
        return moment;
    }

    public void setMoment(MessageMoment moment) {
        this.moment = moment;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
